package com.teng.object1;

import com.teng.domain.Student;

public class TestStudent {
    public static void main(String[] args) {
//        Student s = new Student("李四", 18);
//        System.out.println(s.getName());
//        System.out.println(s.getAge());
//        s.study();
//        Student s2 = new Student();
//        s2.setAge(17);
//        s2.setName("张三");
//        System.out.println(s2.getName());
//        System.out.println(s2.getAge());
//        s2.study();
    }
}
